MailPoet\Config\Initializer S

Total Complexity 41
Dependencies 36
Dependents 2
Total lines 353
Lines of code 227
Logical lines of code 124
Comment lines 23
Methods 27
Properties 19

Methods 27

Method Rating Maintainability Complexity Lines of code
init()
S
45 2 51
setupUpdater()
S
61 3 13
initialize()
S
53 2 25
setupWoocommerceTransactionalEmails()
S
65 3 10
maybeDbUpdate()
S
64 3 10
postInitialize()
S
64 3 10
__construct()
S
55 1 19
setupCronTrigger()
S
74 2 5
handleFailedInitialization()
S
71 2 6
preInitialize()
S
65 2 10
setupUserLocale()
S
73 2 5
setupPersonalDataExporters()
S
77 1 4
multisiteDropTables()
S
69 1 6
setupAutomaticEmails()
S
74 1 5
setupDeactivationSurvey()
S
76 1 4
setupPermanentNotices()
S
82 1 3
setupPersonalDataErasers()
S
77 1 4
setupInstaller()
S
72 1 6
setupPrivacyPolicy()
S
77 1 4
setupWidget()
S
81 1 3
runActivator()
S
81 1 3
setupConflictResolver()
S
77 1 4
setupImages()
S
80 1 3
setupShortcodes()
S
82 1 3
setupCapabilities()
S
76 1 4
setupLocalizer()
S
82 1 3
setupPages()
S
75 1 4